<?php
/**
 * name:删除作业记录
 * url:/erpHomework/delete_homework_record
 */

//获取参数
$oshr_id = $route->bodyParams["oshr_id"];//主键ID

$whereArr = [
    "oshr_id" => $oshr_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_submit_homework_record",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );